home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / valen102.zip / INTPROT.CFG < prev    next >
Text File  |  1993-03-16  |  4KB  |  111 lines

  1. ; :::: INTPROT.CFG ::::
  2.  
  3. ; Valence reads the protocol definitions for external protocols from
  4. ; CONFIG.SL2, but it doesn't have Searchlight's internal protocols. Instead,
  5. ; when someone uses one of the "internal" protocols, Valence calls it just
  6. ; like an external. This file allows you to define the command lines used
  7. ; for "internal" protocols.
  8.  
  9. ; All the definitions have default values. The first set of definitions
  10. ; listed here, using DSZ.COM, is identical to the internal defaults. If you
  11. ; want to use these the way they are, you can just delete this file.
  12. ; Otherwise, uncomment and edit the ones you want to change. Please note, if
  13. ; you only want to change one of them, you only need uncomment that one.
  14. ; Each field within each definition, also, need be uncommented only if you
  15. ; want to change it. (You could leave out the "Name" field, for instance.)
  16. ; "IntProt" must always be uncommented for each protocol changed.
  17.  
  18. ; If you want to use Searchlight Software's new ZMODEM.EXE program, see
  19. ; below.
  20.  
  21. ; If, for some reason, you want separate definitions for different nodes,
  22. ; you can copy this file to files named INTPR%o.CFG, where "%o" is the node
  23. ; number for each node. INTPR%o.CFG will be checked first; if not found,
  24. ; Valence defaults to INTPROT.CFG. If INTPROT.CFG is not found, internal
  25. ; definitions are used.
  26.  
  27. ; Defining the protocols is very simple; they work just like Searchlight's
  28. ; external protocols, with metachars, @files, and so on. They are always run
  29. ; from Valence's work directory.
  30.  
  31. ; The "End IntProt" lines are completely ignored by Valence, and are
  32. ; included only for (I hope) added clarity, and symmetry with COMPRESS.CFG.
  33. ; For more info on the format of this file and Valence's handling of EXEC
  34. ; shelling, please see VALENCE.ORG and my included COMPRESS.CFG.
  35.  
  36. ; *** Definition Set 1 ***
  37.  
  38. ; My default DSZ definitions seem to work where I've tested them, but I know
  39. ; they're not optimized. Deciphering the DSZ manual is a thankless task...
  40.  
  41. ;IntProt    1                    ;Internal protocol number 1 (Xmodem)
  42.  
  43. ; This substitutes for Internal Xmodem. In Searchlight versions under 3.0,
  44. ; this and the next two definitions are hardwired and are always the first
  45. ; three protocols on the list. In version 3.0 and higher, they may appear
  46. ; anywhere in the list, or not at all, as you choose.
  47.  
  48. ;  Name     Xmodem
  49. ;  SendCmd  dsz.com port %p sx %f
  50. ;  RcvCmd   dsz.com port %p rx %f
  51. ;End IntProt
  52.  
  53. ;IntProt    2                    ;Internal protocol number 2 (Xmodem/CRC)
  54. ;  Name     Xmodem/CRC
  55. ;  SendCmd  dsz.com port %p sx %f
  56. ;  RcvCmd   dsz.com port %p rc %f
  57. ;End IntProt
  58.  
  59. ;IntProt    3                    ;Internal protocol number 3 (Xmodem/1k)
  60. ;  Name     Xmodem/1k
  61. ;  SendCmd  dsz.com port %p sx -k %f
  62. ;  RcvCmd   dsz.com port %p rc %f
  63. ;End IntProt
  64.  
  65. ;IntProt    4                    ;Internal protocol number 4 (Zmodem)
  66.  
  67. ; This is used in place of Internal Zmodem in Searchlight versions 3.0 and
  68. ; up. Note Internal protocol number 4 is not used by Searchlight versions
  69. ; under 3.0.
  70.  
  71. ;  Name     Zmodem
  72. ;  SendCmd  dsz.com port %p sz -r %f
  73. ;  RcvCmd   dsz.com port %p rz -ry
  74. ;End IntProt
  75.  
  76. ; *** Definition Set 2 ***
  77.  
  78. ; The second set uses Frank LaRosa's new ZMODEM.EXE. If you have it, I
  79. ; recommend using it, since it SHOULD be identical to the REAL Searchlight
  80. ; internal protocols. Notice the use of "%e" in the definitions below; this
  81. ; is a metacharacter I invented just for ZMODEM.EXE, which translates into
  82. ; the directory of the current node's CONFIG.SL2 (the same value as in the
  83. ; "SLBBS" environment variable, if you're using one).
  84.  
  85. ; To use ZMODEM.EXE, just uncomment the lines below (you could also add the
  86. ; pathname to ZMODEM.EXE):
  87.  
  88. ;IntProt    1
  89. ;  Name     Xmodem
  90. ;  SendCmd  zmodem.exe -c -sx -p%e %f
  91. ;  RcvCmd   zmodem.exe -c -rx -p%e %f
  92. ;End IntProt
  93.  
  94. ;IntProt    2
  95. ;  Name     Xmodem/CRC
  96. ;  SendCmd  zmodem.exe -c -sc -p%e %f
  97. ;  RcvCmd   zmodem.exe -c -rc -p%e %f
  98. ;End IntProt
  99.  
  100. ;IntProt    3
  101. ;  Name     Xmodem/1k
  102. ;  SendCmd  zmodem.exe -c -sk -p%e %f
  103. ;  RcvCmd   zmodem.exe -c -rk -p%e %f
  104. ;End IntProt
  105.  
  106. ;IntProt    4
  107. ;  Name     Zmodem
  108. ;  SendCmd  zmodem.exe -c -s -p%e %f
  109. ;  RcvCmd   zmodem.exe -c -r -p%e
  110. ;End IntProt
  111.